package com.java8.ch03;

//Demonstrate dynamic initialization.
public class DynInit {

	public static void main(String[] args) {
		double a = 3.0, b = 4.0;
		//c is dynamically initialized
		double c = Math.sqrt(a * a + b * b);
		System.out.println("Hypoyenuse is " + c);
	}
	
}
